<div class="sidenav">
    {:hook('user_sidenav_before')}
    <ul class="list-group">
        <li class="list-group-heading">二手房</li>
        <li class="list-group-item {:$config['actionname']=='seconditemslist'?'active':''}"> <a href="{:url('second/seconditemslist')}"><i class="fa fa-building fa-fw"></i> 房源列表</a> </li>
        <li class="list-group-item {:$config['actionname']=='secondfavoratelist'?'active':''}"> <a href="{:url('second/secondfavoratelist')}"><i class="fa fa-users fa-fw"></i> 我的收藏</a> </li>

        <li class="list-group-heading">新房</li>
        <li class="list-group-item {:$config['actionname']=='buildingitemslist'?'active':''}"> <a href="{:url('building/buildingitemslist')}"><i class="fa fa-building fa-fw"></i> 新房楼盘</a> </li>
        <!-- <li class="list-group-item {:$config['actionname']=='customeritemslist'?'active':''}"> <a href="{:url('customer/customeritemslist')}"><i class="fa fa-users fa-fw"></i> 我的客户</a> </li>  -->
        
        <li class="list-group-heading">{:__('User center')}
        <li class="list-group-item {:$config['actionname']=='index'?'active':''}"> <a href="{:url('user/index')}"><i class="fa fa-user-circle fa-fw"></i> {:__('User center')}</a> </li>
        <li class="list-group-item {:$config['actionname']=='profile'?'active':''}"> <a href="{:url('user/profile')}"><i class="fa fa-user-o fa-fw"></i> {:__('Profile')}</a> </li>
        <li class="list-group-item {:$config['actionname']=='changepwd'?'active':''}"> <a href="{:url('user/changepwd')}"><i class="fa fa-key fa-fw"></i> {:__('Change password')}</a> </li>
        <li class="list-group-item {:$config['actionname']=='logout'?'active':''}"> <a href="{:url('user/logout')}"><i class="fa fa-sign-out fa-fw"></i> {:__('Sign out')}</a> </li>
    </ul>
    {:hook('user_sidenav_after')}
</div>